package com.nauu.atombuilder;

import org.eclipse.ui.plugin.AbstractUIPlugin;

public class AtomBuilderPlugin extends AbstractUIPlugin {

	// The shared instance.
	private static AtomBuilderPlugin singleton;

	/**
	 * The constructor.
	 */
	public AtomBuilderPlugin() {
		super();
		if (singleton == null) {
			singleton = this;
		}
	}



//	static private List createCategories(PaletteRoot root) {
//		List categories = new ArrayList();
//
//		categories.add(createControlGroup(root));
//		categories.add(createComponentsDrawer());
//		categories.add(createComplexPartsDrawer());
//		// categories.add(createTemplateComponentsDrawer());
//		// categories.add(createComplexTemplatePartsDrawer());
//
//		return categories;
//	}


	public static AtomBuilderPlugin getDefault() {
		return singleton;
	}


}
